package com.example.gisdata.service.impl;

import com.example.gisdata.mapper.QueryServiceMapper;
import org.springframework.beans.factory.annotation.Autowired;
import com.example.gisdata.service.IQueryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Service
public class QueryServiceImpl implements IQueryService {
    @Resource
     QueryServiceMapper queryServiceMapper ;
    @Override
    public List<Map<String, Object>> getDataList(BigDecimal coorX,BigDecimal coorY) {
        return queryServiceMapper.getDataList(coorX,coorY);
    }

    @Override
    public List<Map<String, Object>> getPage() {
        return queryServiceMapper.getPage();
    }

}
